﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace DongRuanMachineWebService.XmlMapper
{
    public class HIS_ATM_05140Body : CommonBody
    {
        //医院就医码
        [XmlElement("medicalCode")]
        public string MedicalCode { get; set; }
        //交易流水号
        [XmlElement("transFlow")]
        public string TransFlow { get; set; }
        //交易时间
        [XmlElement("transactionTime")]
        public string TransactionTime { get; set; }
        //诊断列表（缴费明细）
        [XmlArrayAttribute("orderItems"), XmlArrayItem("orderItem")]
        public List<HIS_ATM_05140Attr> OrderItems { get; set; }
    }

    public class HIS_ATM_05140Attr
    {
        //收费类别
        [XmlAttribute("feesItem")]
        public string FeesItem { get; set; }
        //收费ID
        [XmlAttribute("itemId")]
        public string ItemId { get; set; }
        //执行科室
        [XmlAttribute("executeDept")]
        public string ExecuteDept { get; set; }
        //执行科室地址
        [XmlAttribute("executeDeptAddr")]
        public string ExecuteDeptAddr { get; set; }
        //项目名称
        [XmlAttribute("itemName")]
        public string ItemName { get; set; }
        //单位
        [XmlAttribute("unit")]
        public string Unit { get; set; }
        //数量
        [XmlAttribute("count")]
        public string Count { get; set; }
        //单价
        [XmlAttribute("price")]
        public string Price { get; set; }
        //项目金额
        [XmlAttribute("amount")]
        public string Amount { get; set; }
    }
}